package com.thinkwide.data.ormapping.search;


import com.thinkwide.data.ormapping.search.enums.MFConditionType;
import lombok.Data;

import java.io.Serializable;

/**
 * @author AndyZhang
 * @version 1.0.0
 * @ClassName ConditionItem.java
 * @Description 查询内容
 * @createTime 2021年06月28日 20:18:00
 */
@Data
public class MFSearchConditionItem implements Serializable {
    private static final long serialVersionUID = -5099378457111419832L;

    /**
     * 数据库字段名
     */
    private String column;
    /**
     * 字段值
     */
    private String value;
    /**
     * 连接类型，如llike,equals,gt,ge,lt,le
     */
    private MFConditionType type;

    public MFSearchConditionItem(String column, String value, MFConditionType type) {
        this.column = column;
        this.value = value;
        this.type = type;
    }

}
